package yxy.cherry.battle.module.record.stream;
/**
 * @author James
 * 攻击和技能
 * @date 2022/2/21 11:57
 **/
import yxy.cherry.battle.Fighter;

public class RecordStream_SKL extends RecordStream {

	private Fighter actor;
	private int skillId;

	public RecordStream_SKL(Fighter actor, int skillId) {
		this.actor = actor;
		this.skillId = skillId;
	}

	@Override
	protected void _record() {
		sb().append("#SKL");
		sb().append("|");
		sb().append(actor.getFighterPosition().code());
		sb().append("|");
		sb().append(skillId);
		sb().append(";");
	}

}
